package models

import "time"

type DeviceModel struct {
	ID           int64     `gorm:"column:id" json:"id"`
	Imgurl       string    `gorm:"column:imgurl" json:"imgurl"`
	ModelNumber  string    `gorm:"column:model_number" json:"model_number"`
	Type         int64     `gorm:"column:type" json:"type"`
	Remarks      string    `gorm:"column:remarks" json:"remarks"`
	Size         string    `gorm:"column:size" json:"size"`
	Status       int64     `gorm:"column:status" json:"status"`
	AppearNumber int64     `gorm:"column:appear_number" json:"appear_number"`
	Bindnum      int64     `gorm:"column:bindnum" json:"bindnum"`
	Errorbind    int64     `gorm:"column:errorbind" json:"errorbind"`
	CreateTime   time.Time `gorm:"column:create_time" json:"create_time"`
	UpdateTime   time.Time `gorm:"column:update_time" json:"update_time"`
	ScreenWidth  int64     `gorm:"column:screen_width" json:"screen_width"`
	ScreenHeight int64     `gorm:"column:screen_height" json:"screen_height"`
	SketchMap    string    `gorm:"column:sketch_map" json:"sketch_map"`
}
